Page({
  data: {
    boxlist:
      [
        {
          id: 'bar',
          name: "柱状图",
        },
        {
          id: 'scatter',
          name: "散点图",
        },
        {
          id: 'line',
          name: "折线图",
        },
        {
          id: 'multiCharts',
          name: "多个图表",
        }
      ],
  },

  enterapplication: function (event) {
    var id = event.currentTarget.dataset.id
    wx.navigateTo({
      url: '../' + id + '/'+id
    });
  }
})